package com.zjdiepu.www.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 对接配置
 * @author xiongxiaotun
 *
 */
@Component
@PropertySource(value = { "classpath:hzicbc.properties" })
public class HzicbcConfig {
	/**
	 * 杭州银行公钥地址（用于加密和签名）
	 */
	@Value("${hzicbc.pub.key.dir}")
	private String pubKeyDirHzicbc;
	/**
	 * 代理服务器私钥（用于加密和签名）
	 */
	@Value("${proxy.pri.key}")
	private String priKeyProxy;
	/**
	 * 平台编号
	 */
	@Value("${hzicbc.platno}")
	private String platno;
	/**
	 * 业务受理网点
	 */
	@Value("${hzicbc.phybrno}")
	private String phybrno;
	/**
	 * 业务受理网点:分期
	 */
	@Value("${hzicbc.divi.phybrno}")
	private String diviPhybrno;
	/**
	 * 担保单位编号
	 */
	@Value("${hzicbc.assurerno}")
	private String assurerno;
	public String getPubKeyDirHzicbc() {
		return pubKeyDirHzicbc;
	}
	public void setPubKeyDirHzicbc(String pubKeyDirHzicbc) {
		this.pubKeyDirHzicbc = pubKeyDirHzicbc;
	}
	public String getPriKeyProxy() {
		return priKeyProxy;
	}
	public void setPriKeyProxy(String priKeyProxy) {
		this.priKeyProxy = priKeyProxy;
	}
	public String getPlatno() {
		return platno;
	}
	public void setPlatno(String platno) {
		this.platno = platno;
	}
	public String getPhybrno() {
		return phybrno;
	}
	public void setPhybrno(String phybrno) {
		this.phybrno = phybrno;
	}
	public final String getDiviPhybrno() {
		return diviPhybrno;
	}
	public final void setDiviPhybrno(String diviPhybrno) {
		this.diviPhybrno = diviPhybrno;
	}
	public String getAssurerno() {
		return assurerno;
	}
	public void setAssurerno(String assurerno) {
		this.assurerno = assurerno;
	}
}
